import React from 'react'
import { useNavigate } from "react-router-dom";
import { Button } from 'antd';

export default function Login() {
  const navigate = useNavigate();
  return (
    <div>
      Login
      {/* <button onClick={() => navigate('/about/1')}>登录</button> */}
      <Button onClick={() => navigate('/about/1')} type="primary">Primary Button</Button>
    </div>
  )
}
